﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class EnemyBloodView : MonoBehaviour
{
	[Header("血量填充视图")]
	public Image bloodImage;

	[Header("血量的最大值")]
	public float maxBlood;


	public void SetBloodValue(float bloodValue) {
		bloodImage.fillAmount = bloodValue / maxBlood;
	}

}
